/**
 * 登录服务
 * 
 * @author lianchao
 */
// 创建登录模块
var jobDetailDeathServiceApp = angular.module("jobDetailDeathServiceApp", [ "commonApp" ]);

// 创建登录服务
jobDetailDeathServiceApp.service("jobDetailDeathService", [
		"commonService",
		function(commonService) {
			
			/**
			 * 新增子任务
			 */
			this.queryPage = function(params, sback, eback) {
				commonService.call("tsp/jobDetailDeath/queryPage", params, sback, eback);
			}
			
			/**
			 * 查询子任务
			 */
			this.remove = function(params, sback, eback) {
				commonService.call("tsp/jobDetailDeath/delete", params, sback, eback);
			}
			
			/**
			 * 查询子任务
			 */
			this.removeList = function(params, sback, eback) {
				commonService.call("tsp/jobDetailDeath/deleteList", params, sback, eback);
			}
			
			/**
			 * 查询子任务
			 */
			this.reset = function(params, sback, eback) {
				commonService.call("tsp/jobDetailDeath/reset", params, sback, eback);
			}
			
			/**
			 * 查询子任务
			 */
			this.resetList = function(params, sback, eback) {
				commonService.call("tsp/jobDetailDeath/resetList", params, sback, eback);
			}
			
		}
]);